center div with variable height

51

position: relative;
top: 50%;
transform: translateY(-50%);

Comments

Submit
0 Comments